NXP Semiconductors /LPC11Exx /CT16B1 /EMR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as EMR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (EM0)EM0 0 (EM1)EM1 0 (EM2)EM2 0 (EM3)EM3 0 (DO_NOTHING_)EMC0 0 (DO_NOTHING_)EMC1 0 (DO_NOTHING_)EMC2 0 (DO_NOTHING_)EMC3 0RESERVED

EMC2=DO_NOTHING_, EMC3=DO_NOTHING_, EMC0=DO_NOTHING_, EMC1=DO_NOTHING_

Description

External Match Register. The EMR controls the match function and the external match pins CT16B0_MAT[1:0] and CT16B1_MAT[1:0].

Fields

EM0

External Match 0. This bit reflects the state of output CT16B0_MAT0/CT16B1_MAT0, whether or not this output is connected to its pin. When a match occurs between the TC and MR0, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[5:4] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH).

EM1

External Match 1. This bit reflects the state of output CT16B0_MAT1/CT16B1_MAT1, whether or not this output is connected to its pin. When a match occurs between the TC and MR1, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[7:6] control the functionality of this output. This bit is driven to the CT16B0_MAT0/CT16B1_MAT0 pins if the match function is selected in the IOCON registers (0 = LOW, 1 = HIGH).

EM2

External Match 2. This bit reflects the state of match channel 2. When a match occurs between the TC and MR2, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[9:8] control the functionality of this output.

EM3

External Match 3. This bit reflects the state of output of match channel 3. When a match occurs between the TC and MR3, this bit can either toggle, go LOW, go HIGH, or do nothing. Bits EMR[11:10] control the functionality of this output.

EMC0

External Match Control 0. Determines the functionality of External Match 0. Table 296 shows the encoding of these bits.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT0 pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (CT16Bn_MAT0 pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC1

External Match Control 1. Determines the functionality of External Match 1.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT1 pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (CT16Bn_MAT1 pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC2

External Match Control 2. Determines the functionality of External Match 2.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT2 pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (CT16Bn_MAT2 pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

EMC3

External Match Control 3. Determines the functionality of External Match 3.

0 (DO_NOTHING_): Do Nothing.

1 (CLEAR_THE_CORRESPOND): Clear the corresponding External Match bit/output to 0 (CT16Bn_MAT3 pin is LOW if pinned out).

2 (SET_THE_CORRESPONDIN): Set the corresponding External Match bit/output to 1 (CT16Bn_MAT3 pin is HIGH if pinned out).

3 (TOGGLE_THE_CORRESPON): Toggle the corresponding External Match bit/output.

RESERVED

Reserved, user software should not write ones to reserved bits. The value read from a reserved bit is not defined.

Links

()